package com.Object01.homework.homework02;

public class lecturer extends Teacher {
    private double scale = 1.1;

    public lecturer(String name, int age, String post, double salary) {
        super(name, age, post, salary);

    }

    @Override
    public String introduce() {
        return super.introduce() +
                ", salary=" + getSalary() * scale;
    }
}
